package org.put.netbeans.dcs_modeler.palette;

import org.openide.nodes.AbstractNode;
import org.openide.util.lookup.Lookups;

public class CategoryNode extends AbstractNode 
{

    /** Creates a new instance of CategoryNode */
    public CategoryNode( Category category ) 
    {
        super( new WorkflowElementChildren( category ), Lookups.singleton( category ) );
        setDisplayName( category.getName() );
    }

}